Filter hook 'edit_{$field}'
in WP Core File wp-includes/post.php at line 2905
Description
Filters the value of a specific post field to edit. The dynamic portion of the hook name, `$field`, refers to the post field name.
Occurrences
Filename |
Line Number |
wp-includes/post.php |
2905 |
wp-includes/user.php |
1811 |
wp-includes/bookmark.php |
431 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Value of the post field. |
int |
$post_id |
Post ID. |
PHP Doc
/**
* Filters the value of a specific post field to edit.
*
* The dynamic portion of the hook name, `$field`, refers to the post
* field name.
*
* @since 2.3.0
*
* @param mixed $value Value of the post field.
* @param int $post_id Post ID.
*/